#include "vector2.hpp"
#include <cfloat>

namespace yep
{
const Vector2 Vector2::ZERO(0,0);
const Vector2 Vector2::MIN(DBL_MIN,DBL_MIN);
const Vector2 Vector2::MAX(DBL_MAX,DBL_MAX);


static SDL_Rect returned;

Vector2::operator SDL_Rect*() const
{
    return &(returned = {static_cast<Sint16>(x), static_cast<Sint16>(y)});
}
}
